package com.hzcx.app.simplechat.ui.friend.contract;

import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.friend.bean.FriendBean;
import com.hzcx.app.simplechat.ui.friend.bean.FriendRequestBean;

import java.util.List;

public interface FriendRequestContract {

    interface View extends IView {
        void friendRequestResult(List<FriendRequestBean> data);
        void agreeSuccess(int headPos,int contentPos);
    }

    interface Presenter extends IPresenter<View> {
        void getFriendRequestList(Context context);
        void agreeFriendRequest(Context context,int id,int headPos,int contentPos);
    }

}
